/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */
package main.DBmodels;

import java.io.Serializable;
import javax.persistence.*;

/**
 *
 * @author Ariman
 */
@Entity
@Table(name = "Statistics")
public class StatisticRow implements Serializable{
    
    @Id
    @Column(name = "UID")
    private Long UID;
    @Column(name = "games_played")
    private int games_played;
    @Column(name = "mountain")
    private int mountain;
    @Column(name = "pool")
    private int pool;
    @Column(name = "total_win")
    private int total_win;

    public StatisticRow() {
    }

    public StatisticRow(int games_played, int mountain, int pool, int total_win) {
        this.UID=0L;
        this.games_played = games_played;
        this.mountain = mountain;
        this.pool = pool;
        this.total_win = total_win;
    }

    public StatisticRow(Long UID, int games_played, int mountain, int pool, int total_win) {
        this.UID = UID;
        this.games_played = games_played;
        this.mountain = mountain;
        this.pool = pool;
        this.total_win = total_win;
    }    
    
    public Long getUID() {
        return UID;
    }

    public void setUID(Long UID) {
        this.UID = UID;
    }

    public int getGames_played() {
        return games_played;
    }

    public void setGames_played(int games_played) {
        this.games_played = games_played;
    }

    public int getMountain() {
        return mountain;
    }

    public void setMountain(int mountain) {
        this.mountain = mountain;
    }

    public int getPool() {
        return pool;
    }

    public void setPool(int pool) {
        this.pool = pool;
    }

    public int getTotal_win() {
        return total_win;
    }

    public void setTotal_win(int total_win) {
        this.total_win = total_win;
    }
   
    
}
